package com.hundsun.cprs.yyt.service.trade.domain;

import com.hundsun.cprs.yyt.common.base.DomainBase;

public class TradeMatchDetail extends DomainBase{
    
    /**
     * 明细资金处理状态
     */
    public static enum FUND_PROCESS {
        DONT, WAIT, SUCCESS, FAIL
    };
    
    private Long id;

    private TradeMatch match;
    
    private TradeEntrust entrust;
    
    private String sn;
    
    private Long matchAmount;

    private Long matchFundAmount;

    private Long matchCommission;

    private Long matchManagement;

    private Long matchPrice;
    
    private Integer tradeCommissionRate;
    
    private Long tradeCommission;
    
    private Integer isFundProcess;

    private Integer transactions;
    
    private Integer transactionCount = 0;

    private Long surplusEntrustAmount = 0L;//当前匹配剩余量

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMatchAmount() {
        return matchAmount;
    }

    public void setMatchAmount(Long matchAmount) {
        this.matchAmount = matchAmount;
    }

    public Long getMatchFundAmount() {
        return matchFundAmount;
    }

    public void setMatchFundAmount(Long matchFundAmount) {
        this.matchFundAmount = matchFundAmount;
    }

    public Long getMatchCommission() {
        return matchCommission;
    }

    public void setMatchCommission(Long matchCommission) {
        this.matchCommission = matchCommission;
    }

    public Long getMatchManagement() {
        return matchManagement;
    }

    public void setMatchManagement(Long matchManagement) {
        this.matchManagement = matchManagement;
    }

    public Long getMatchPrice() {
        return matchPrice;
    }

    public void setMatchPrice(Long matchPrice) {
        this.matchPrice = matchPrice;
    }

    public Integer getTransactions() {
        return transactions;
    }

    public void setTransactions(Integer transactions) {
        this.transactions = transactions;
    }

    public TradeMatch getMatch() {
        return match;
    }

    public void setMatch(TradeMatch match) {
        this.match = match;
    }

    public TradeEntrust getEntrust() {
        return entrust;
    }

    public void setEntrust(TradeEntrust entrust) {
        this.entrust = entrust;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Integer getIsFundProcess() {
        return isFundProcess;
    }

    public void setIsFundProcess(Integer isFundProcess) {
        this.isFundProcess = isFundProcess;
    }

    public Integer getTradeCommissionRate() {
        return tradeCommissionRate;
    }

    public void setTradeCommissionRate(Integer tradeCommissionRate) {
        this.tradeCommissionRate = tradeCommissionRate;
    }

    public Long getTradeCommission() {
        return tradeCommission;
    }

    public void setTradeCommission(Long tradeCommission) {
        this.tradeCommission = tradeCommission;
    }

    public Integer getTransactionCount() {
        return transactionCount;
    }

    public void setTransactionCount(Integer transactionCount) {
        this.transactionCount = transactionCount;
    }

    public Long getSurplusEntrustAmount() {
        return surplusEntrustAmount;
    }

    public void setSurplusEntrustAmount(Long surplusEntrustAmount) {
        this.surplusEntrustAmount = surplusEntrustAmount;
    }
}